<template>
  <a-locale-provider :locale="locale">
    <v-app>
      <core-app-bar />
      <v-main>
        <keep-alive :include="keepAlive" >
          <router-view/>
        </keep-alive>
      </v-main>
    </v-app>
  </a-locale-provider>

</template>

<script>
  import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN';

export default {
  name: 'App',
  mounted() {

  },

  computed: {
    keepAlive () {
      return this.$store.getters.keepAlive
    }
  },
  data: () => ({
    locale: zhCN,

  }),

  components: {
    CoreAppBar: () => import('@/components/core/AppBar'),
  },
  created() {
  },
  mounted() {

  },
  methods:{

  }
};
</script>
